package com.zhangfb95.crosschain.protocol.exc;

import com.zhangfb95.crosschain.infra.model.Result;
import com.zhangfb95.crosschain.protocol.exc.request.GetAccountExcReq;
import com.zhangfb95.crosschain.protocol.exc.request.SignExcReq;
import com.zhangfb95.crosschain.protocol.exc.response.GetAccountExcRes;
import com.zhangfb95.crosschain.protocol.exc.response.SignExcRes;

/**
 * @author zhangfubing
 * @since 2023/10/19
 */
public interface ExcAccountService {

    Result<GetAccountExcRes> getAccount(GetAccountExcReq req);

    Result<SignExcRes> sign(SignExcReq req);
}
